//
//  StrategyPlus.m
//  LearnObjectiveC
//
//  Created by client on 2017/9/11.
//  Copyright © 2017年 吴可高. All rights reserved.
//

#import "StrategyPlus.h"

@implementation StrategyPlus

-(int)calculate:(NSString*)expr;
{
    NSArray * items = [self split:expr opt:@"+"];
    int number_0 = [items[0]intValue];
    int number_1 = [items[1]intValue];
    return number_0 + number_1;
}
@end
